from ollama import chat
response = chat(model='llama3', messages=[{'role': 'user', 'content': '天空为什么是蓝色的？'}])
print(response['message']['content'])
from ollama import Client
client = Client(host='http://192.168.1.100:11434')  # 自定义远端地址
response = client.chat(model='gemma:7b', messages=[...])
